import type { RouteRecordRaw } from "vue-router";
import { Ticket } from "@element-plus/icons-vue";

export default import.meta.env.MODE === "development"
  ? [
      {
        path: "/curd",
        name: "Curd",
        meta: {
          title: "增删改查接口演示",
          keepAlive: true,
          menu: {
            show: true,
            icon: Ticket,
          },
          permission: {
            login: true,
          },
        },
        component: () => import("@/pages/curd/Curd.vue"),
      },
    ]
  : ([] as RouteRecordRaw[]);
